//CommandeMove.h
#ifndef _COMMANDMOVE_H_
#define _COMMANDMOVE_H_

#pragma once
#include <osg\Array>
#include "Block.h"

using namespace osg;

class CommandMove : public Referenced{
public :
	CommandMove(ref_ptr<Block> block){this->block = block;}
	virtual void execute() = 0;
	virtual void undo() = 0;
protected :
	virtual ~CommandMove(){};
	ref_ptr<Block> block;
};
#endif